Repository navigation
Conversation
Move the Kali build to a top-level kali/ directory with its own compose file that each lab includes, and add a DVWA lab alongside Juice Shop. Only one lab runs at a time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a DVWA lab next to the Juice Shop lab, and moves the Kali desktop out of
owasp_juiceshop/so both labs share it.dvwa/compose.yaml: DVWA and its MariaDB database, both only on the internal lab network.kali/: the Kali build moved here fromowasp_juiceshop/kali, plus acompose.yamlwith the desktop, gateway, networks and home volume. Each lab includes it.justfile: newjust dvwa-up/just dvwa-down. Labs share port 6080, so starting one stops the other.lab-kaliand the home volume is namedkali-home, so both labs reuse them.Testing
Ran both labs locally on arm64:
just dvwa-up: from the Kali container, DVWA database setup,admin/passwordlogin and the home page all work.just juice-shop-upwhile DVWA was running: DVWA stopped, Juice Shop started and returned HTTP 200 from Kali, with a single auto-off timer.127.0.0.1:6080in both labs.